Dynomotion

Group: DynoMotion Message: 1262 From: albertplatek Date: 6/11/2011
Subject: Cam programs toolopath quality
Hi Tom,
I made two gcodes on:
- HeeksCam
- Vectric Cut2D

nc program: 100mm diameter circle using arcs (forced postporcessors to generate circles with small lines with tolerance 0.01mm)

KmotionCNC settings:
- Break angle 10 degrees
- Look Ahead 2 seconds
- Collinear tolerance 0.00005 in
- Corner tolerance 0.003 in
- Facet angle 0.5 degrees

It's strange but both gcode programs looks same, free HeeksCam gcode
work with proper speed, but Vectric Cut2D gcode is very slow.

I am sure that KmotionCNC is ok.
Please tell what is the problem with Cam software? (not good decimal precision ?)

HeeksCNC (Circle dia100 Tol 0.01).nc
http://pastebin.com/c35DyeyX

Vectric Cut2D (Circle dia100 Tol 0.01).nc
http://pastebin.com/F9xDHEGx

Best Regards
Albert Platek
Group: DynoMotion Message: 1263 From: albertplatek Date: 6/11/2011
Subject: Re: Cam programs toolopath quality
Collinear tolerance is 0.0005 in
sorry for mistake

--- In DynoMotion@yahoogroups.com, "albertplatek" <albertplatek86@...> wrote:
>
> Hi Tom,
> I made two gcodes on:
> - HeeksCam
> - Vectric Cut2D
>
> nc program: 100mm diameter circle using arcs (forced postporcessors to generate circles with small lines with tolerance 0.01mm)
>
> KmotionCNC settings:
> - Break angle 10 degrees
> - Look Ahead 2 seconds
> - Collinear tolerance 0.00005 in
> - Corner tolerance 0.003 in
> - Facet angle 0.5 degrees
>
> It's strange but both gcode programs looks same, free HeeksCam gcode
> work with proper speed, but Vectric Cut2D gcode is very slow.
>
> I am sure that KmotionCNC is ok.
> Please tell what is the problem with Cam software? (not good decimal precision ?)
>
> HeeksCNC (Circle dia100 Tol 0.01).nc
> http://pastebin.com/c35DyeyX
>
> Vectric Cut2D (Circle dia100 Tol 0.01).nc
> http://pastebin.com/F9xDHEGx
>
> Best Regards
> Albert Platek
>
Group: DynoMotion Message: 1264 From: Tom Kerekes Date: 6/12/2011
Subject: Re: Cam programs toolopath quality
Hi Albert,
 
Actually you uncovered a major flaw/bug in our algorithm :}
 
Shown below are the facet angles plotted from the two files.  The HeeksCNC generates identical facet angles (1.14 degrees) and lengths throughout.  But Cut2D has small sinusoidal variations for some reason where the angles vary from (1.04 to 1.20 degrees). 
 
 
The problem with our Trajectory Planner occurs when two adjacent facets corners are very nearly identical but not exactly the same.  Fitting an arc into both corners leaves a microscopically small residual line segment.  (We already discard extremely small residual line segments, but these are just above our threshold).  The tiny line segment points out a flaw in the way our Trajectory Planner computes "path curvature" to limit speed.
 
It may take us a while to come up with a good solution.  In the meantime setting Corner Tolerance to zero should disable the new feature and result in the same performance as in previous versions.
 
Thanks for testing and providing the simple examples.
Regards
TK


--- On Sat, 6/11/11, albertplatek <albertplatek86@...> wrote:

From: albertplatek <albertplatek86@...>
Subject: [DynoMotion] Cam programs toolopath quality
To: DynoMotion@yahoogroups.com
Date: Saturday, June 11, 2011, 8:13 AM

 
Hi Tom,
I made two gcodes on:
- HeeksCam
- Vectric Cut2D

nc program: 100mm diameter circle using arcs (forced postporcessors to generate circles with small lines with tolerance 0.01mm)

KmotionCNC settings:
- Break angle 10 degrees
- Look Ahead 2 seconds
- Collinear tolerance 0.00005 in
- Corner tolerance 0.003 in
- Facet angle 0.5 degrees

It's strange but both gcode programs looks same, free HeeksCam gcode
work with proper speed, but Vectric Cut2D gcode is very slow.

I am sure that KmotionCNC is ok.
Please tell what is the problem with Cam software? (not good decimal precision ?)

HeeksCNC (Circle dia100 Tol 0.01).nc
http://pastebin.com/c35DyeyX

Vectric Cut2D (Circle dia100 Tol 0.01).nc
http://pastebin.com/F9xDHEGx

Best Regards
Albert Platek

Group: DynoMotion Message: 1265 From: Tom Kerekes Date: 6/12/2011
Subject: Re: Cam programs toolopath quality
Here is a possible fix.  Download to your <Install V4.25>\KMotion\Release Folder.
 
 
Any testing would be appreciated.
 
Thanks
TK

--- On Sat, 6/11/11, albertplatek <albertplatek86@...> wrote:

From: albertplatek <albertplatek86@...>
Subject: [DynoMotion] Cam programs toolopath quality
To: DynoMotion@yahoogroups.com
Date: Saturday, June 11, 2011, 8:13 AM

 
Hi Tom,
I made two gcodes on:
- HeeksCam
- Vectric Cut2D

nc program: 100mm diameter circle using arcs (forced postporcessors to generate circles with small lines with tolerance 0.01mm)

KmotionCNC settings:
- Break angle 10 degrees
- Look Ahead 2 seconds
- Collinear tolerance 0.00005 in
- Corner tolerance 0.003 in
- Facet angle 0.5 degrees

It's strange but both gcode programs looks same, free HeeksCam gcode
work with proper speed, but Vectric Cut2D gcode is very slow.

I am sure that KmotionCNC is ok.
Please tell what is the problem with Cam software? (not good decimal precision ?)

HeeksCNC (Circle dia100 Tol 0.01).nc
http://pastebin.com/c35DyeyX

Vectric Cut2D (Circle dia100 Tol 0.01).nc
http://pastebin.com/F9xDHEGx

Best Regards
Albert Platek

Group: DynoMotion Message: 1273 From: albertplatek Date: 6/13/2011
Subject: Re: Cam programs toolopath quality
Hi Tom,
after some tests, I think it is ok.

Thank you for fast fixing the problem.
Smoothing is great for 3D machining! I can do 3D machining a lot faster than before, with no losing steps.

I dont know any other CNC controller that can smooth g-code, with good performance.

Good job, thanks again:)
If I will find any other bug I will write.

Best Regards
Albert Platek


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Here is a possible fix.  Download to your <Install V4.25>\KMotion\Release Folder.
>  
> http://www.dynomotion.com/Software/TP/GCodeInterpreter.dll
>  
> Any testing would be appreciated.
>  
> Thanks
> TK
>
> --- On Sat, 6/11/11, albertplatek <albertplatek86@...> wrote:
>
>
> From: albertplatek <albertplatek86@...>
> Subject: [DynoMotion] Cam programs toolopath quality
> To: DynoMotion@yahoogroups.com
> Date: Saturday, June 11, 2011, 8:13 AM
>
>
>  
>
>
>
> Hi Tom,
> I made two gcodes on:
> - HeeksCam
> - Vectric Cut2D
>
> nc program: 100mm diameter circle using arcs (forced postporcessors to generate circles with small lines with tolerance 0.01mm)
>
> KmotionCNC settings:
> - Break angle 10 degrees
> - Look Ahead 2 seconds
> - Collinear tolerance 0.00005 in
> - Corner tolerance 0.003 in
> - Facet angle 0.5 degrees
>
> It's strange but both gcode programs looks same, free HeeksCam gcode
> work with proper speed, but Vectric Cut2D gcode is very slow.
>
> I am sure that KmotionCNC is ok.
> Please tell what is the problem with Cam software? (not good decimal precision ?)
>
> HeeksCNC (Circle dia100 Tol 0.01).nc
> http://pastebin.com/c35DyeyX
>
> Vectric Cut2D (Circle dia100 Tol 0.01).nc
> http://pastebin.com/F9xDHEGx
>
> Best Regards
> Albert Platek
>
Group: DynoMotion Message: 1275 From: Tom Kerekes Date: 6/13/2011
Subject: Re: Cam programs toolopath quality
Thanks for testing Albert
TK

--- On Mon, 6/13/11, albertplatek <albertplatek86@...> wrote:

From: albertplatek <albertplatek86@...>
Subject: [DynoMotion] Re: Cam programs toolopath quality
To: DynoMotion@yahoogroups.com
Date: Monday, June 13, 2011, 9:22 AM

 
Hi Tom,
after some tests, I think it is ok.

Thank you for fast fixing the problem.
Smoothing is great for 3D machining! I can do 3D machining a lot faster than before, with no losing steps.

I dont know any other CNC controller that can smooth g-code, with good performance.

Good job, thanks again:)
If I will find any other bug I will write.

Best Regards
Albert Platek

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Here is a possible fix.  Download to your <Install V4.25>\KMotion\Release Folder.
>  
> http://www.dynomotion.com/Software/TP/GCodeInterpreter.dll
>  
> Any testing would be appreciated.
>  
> Thanks
> TK
>
> --- On Sat, 6/11/11, albertplatek <albertplatek86@...> wrote:
>
>
> From: albertplatek <albertplatek86@...>
> Subject: [DynoMotion] Cam programs toolopath quality
> To: DynoMotion@yahoogroups.com
> Date: Saturday, June 11, 2011, 8:13 AM
>
>
>  
>
>
>
> Hi Tom,
> I made two gcodes on:
> - HeeksCam
> - Vectric Cut2D
>
> nc program: 100mm diameter circle using arcs (forced postporcessors to generate circles with small lines with tolerance 0.01mm)
>
> KmotionCNC settings:
> - Break angle 10 degrees
> - Look Ahead 2 seconds
> - Collinear tolerance 0.00005 in
> - Corner tolerance 0.003 in
> - Facet angle 0.5 degrees
>
> It's strange but both gcode programs looks same, free HeeksCam gcode
> work with proper speed, but Vectric Cut2D gcode is very slow.
>
> I am sure that KmotionCNC is ok.
> Please tell what is the problem with Cam software? (not good decimal precision ?)
>
> HeeksCNC (Circle dia100 Tol 0.01).nc
> http://pastebin.com/c35DyeyX
>
> Vectric Cut2D (Circle dia100 Tol 0.01).nc
> http://pastebin.com/F9xDHEGx
>
> Best Regards
> Albert Platek
>

Group: DynoMotion Message: 1276 From: Lee Studley Date: 6/13/2011
Subject: Re: Cam programs toolopath quality
Great job guys!!!!